﻿@model Tyshka.Subroutines.ViewModels.LoginModel

@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="row">
    <div class="span12">
        <div class="bright_block">
        <h2>Login Form</h2>
        
        <form class="form-horizontal" method="post" action="@Url.Action("Login", "Account")">
                    <fieldset>
                        @Html.TextInput("Login", "login", Model.Errors)
                        @Html.TextInput("Password", "password", InputTypes.Password, Model.Errors)
                        <div class="form-actions">
                            <input type="submit" class="btn btn-primary" value="Login"/>
                            <a href="@Url.Action("Index", "Home")"><input type="button" class="btn" value="Home" /></a>
                        </div>  
                    </fieldset>                  
                </form>
                </div></div>
                </div>